package com.parking.mgr.useraccount.model.param;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.parking.mgr.common.pojo.base.param.BaseParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @ClassName UserAccountParam
 * @Description 用户账户请求参数
 * @author: zhijianpu
 * @Date: 2023/6/15
 */
@Data
@ApiModel(description= "用户账户请求参数")
public class UserAccountParam extends BaseParam {

    /**
     * 主键
     */
    @ApiModelProperty(value = "用户信息ID")
    @NotNull(message = "id不能为空，请检查id参数", groups = {add.class})
    private String id;

    /**
     * 用户账号
     */
    @ApiModelProperty(value = "用户账号")
    @JsonProperty("fAccount")
    @NotNull(message = "用户账号不能为空，请检查fAccount参数")
    private String fAccount;
}
